﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.IO;

namespace Friedlich.Delicious
{
    public class DisconnectedDeliciousFactory : DeliciousFactory
    {
        public override Common.TagCollection GetSuggestedTags(string url)
        {
            XDocument tagDoc = null;
            TextReader reader = new StreamReader(url);
            tagDoc = XDocument.Load(reader);
            return ParseTags(tagDoc);
        }
    }
}
